package io.sage.modules.camera.service.impl;

import io.sage.modules.camera.dao.BMonitorCameraMapper;
import io.sage.modules.camera.entity.BMonitorCamera;
import io.sage.modules.camera.entity.BMonitorCameraExample;
import io.sage.modules.camera.service.BMonitorCameraService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2019/7/28 0028.
 */
@Service
public class BMonitorCameraServiceImpl implements BMonitorCameraService {

    @Resource
    private BMonitorCameraMapper bMonitorCameraMapper;

    @Override
    public List<BMonitorCamera> selectByExample(BMonitorCameraExample example) {
        return bMonitorCameraMapper.selectByExample(example);
    }

    @Override
    public BMonitorCamera selectByPrimaryKey(Integer id) {
        return bMonitorCameraMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExample(BMonitorCameraExample example) {
        return 0;
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return 0;
    }

    @Override
    public int insert(BMonitorCamera record) { return bMonitorCameraMapper.insert(record); }

    @Override
    public int updateByPrimaryKey(BMonitorCamera record) { return bMonitorCameraMapper.updateByPrimaryKey(record); }

    @Override
    public int deleteBatchIds(Integer[] ids) { return bMonitorCameraMapper.deleteBatchIds(ids); }

    @Override
    public List<BMonitorCamera> selectBMonitorCameraList(Map<String, Object> params) { return bMonitorCameraMapper.selectBMonitorCameraList(params); }

    @Override
    public int updateByPrimaryKeySelective(BMonitorCamera record) { return bMonitorCameraMapper.updateByPrimaryKeySelective(record); }


}
